//
//  NSString+Size.h
//  NekaPrice
//
//  Created by yu on 2018/6/14.
//  Copyright © 2018年 ma c. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Size)

//高度固定,计算(字符串宽度+左右边距)
- (CGFloat)widthWithFixedHeight:(CGFloat)height andEdgeInsets:(UIEdgeInsets)edgeInsets attributes:(NSDictionary *)attributes;

//宽度固定,计算(字符串高度+上下边距)
- (CGFloat)heightWithFixedWidth:(CGFloat)width andEdgeInsets:(UIEdgeInsets)edgeInsets attributes:(NSDictionary *)attributes;

@end
